<script setup lang="ts">
import { useIpcRenderer } from '@vueuse/electron';

defineOptions({ name: 'IndexPage' });

const ipcRenderer = useIpcRenderer();

function onFoo() {
  ipcRenderer.send('ping');
}
</script>

<template>
  <n-button @click="onFoo">test</n-button>
  <div>index {{ $t('home.goods.epc') }}</div>
  <div></div>
  <div i-mdi-access-point text-red text-100 />
</template>

<style scoped></style>
